import { Connection } from "typeorm";

export const AuthProvider =[{
    provide:'AuthProviderToken',
    useFactory:async(connection:Connection) => connection.getRepository('token'),
    inject:['typeormToken']
}]